package com.origin.chaos.framework.bean.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 * @author: tao.ding
 * @date 2021-07-16
 */
@Data
public class UpdateCanvasVo {

    @Min(value = 1, message = "画布ID必填")
    @ApiModelProperty("画布ID")
    private long id;

    @NotBlank(message = "画布名称必填")
    @ApiModelProperty(value = "画布名称", required = true)
    private String name;

    @ApiModelProperty("两次绘画之间的间隔时间")
    private int paintIntervalTime;
}
